//-----------------------------------------------------------------------
// <copyright file="tblInternalRateBase.cs" company="VNSpoke">
//     Copyright ? VNSpoke. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;


namespace Robot.Entities
{
	[Serializable]
	public class tblInternalRateBase
	{
		
		#region Variable Declarations
		
		private Guid				id = Guid.Empty;
		
		private string				buyCCY = string.Empty;
		
		private decimal?				floorRate = null;
		
		private string				sellCCY = string.Empty;
		
		private decimal?				ceilingRate = null;
		
		private decimal?				internalRate = null;
		
		private Guid				fromFileID = Guid.Empty;
		
		private DateTime?				createdDate = null;
		
		private string				createdBy = string.Empty;
		#endregion
		
		#region Constructors
		public tblInternalRateBase() {}
		
		public tblInternalRateBase (
			Guid id,
			string buyCCY,
			decimal? floorRate,
			string sellCCY,
			decimal? ceilingRate,
			decimal? internalRate,
			Guid fromFileID,
			DateTime? createdDate,
			string createdBy)
		
		{
			this.id = id;
			this.buyCCY = buyCCY;
			this.floorRate = floorRate;
			this.sellCCY = sellCCY;
			this.ceilingRate = ceilingRate;
			this.internalRate = internalRate;
			this.fromFileID = fromFileID;
			this.createdDate = createdDate;
			this.createdBy = createdBy;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ID
		{
			get { return id; }
			set { id = value; }
		}
		public Guid originalID
		{
			get { return originalID; }
			set { originalID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string BuyCCY
		{
			get { return buyCCY; }
			set { buyCCY = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? FloorRate
		{
			get { return floorRate; }
			set { floorRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SellCCY
		{
			get { return sellCCY; }
			set { sellCCY = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? CeilingRate
		{
			get { return ceilingRate; }
			set { ceilingRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? InternalRate
		{
			get { return internalRate; }
			set { internalRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid FromFileID
		{
			get { return fromFileID; }
			set { fromFileID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CreatedBy
		{
			get { return createdBy; }
			set { createdBy = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum tblInternalRateColumns
	{
		ID,
		BuyCCY,
		FloorRate,
		SellCCY,
		CeilingRate,
		InternalRate,
		FromFileID,
		CreatedDate,
		CreatedBy
	}//End enum
}